package top.zhangjianyong.blog.service;

import com.baomidou.mybatisplus.extension.service.IService;
import java.util.List;
import top.zhangjianyong.blog.entity.dto.MenuDTO;
import top.zhangjianyong.blog.entity.po.Menu;
import top.zhangjianyong.blog.params.menu.MenuRemoveParam;
import top.zhangjianyong.blog.params.menu.MenuSaveOrUpdateParam;
import top.zhangjianyong.blog.response.ApiResponse;

/**
 * 菜单Service
 *
 * @author HDN
 * @since 2024/7/21 上午8:46
 */
public interface MenuService extends IService<Menu> {
  ApiResponse treeList();

  ApiResponse saveOrUpdate(MenuSaveOrUpdateParam param);

  ApiResponse remove(MenuRemoveParam param);

  List<MenuDTO> menu(Long userId);
}
